Efficient Construction of Semilinear Representations of Languages Accepted by Unary Nondeterministic Finite Automata

نویسنده

  • Zdenek Sawa
چکیده

In languages over a unary alphabet, i.e., an alphabet with only one letter, words can be identified with their lengths. It is well known that each regular language over a unary alphabet can be represented as the union of a finite number of arithmetic progressions. Given a nondeterministic finite automaton (NFA) working over a unary alphabet (a unary NFA), the arithmetic progressions representing the language accepted by the automaton can be easily computed by the determinization of the given NFA. However, the number of the arithmetic progressions computed in this way can be exponential with respect to the size of the original automaton. Chrobak (1986) has shown that in fact O(n) arithmetic progressions are sufficient for the representation of the language accepted by a unary NFA with n states, and Martinez (2002) has shown how these progressions can be computed in polynomial time. Recently, To (2009) has pointed out that Chrobak’s construction and Martinez’s algorithm, which is based on it, contain a subtle error and has shown how to correct this error. Geffert (2007) presented an alternative proof of Chrobak’s result, also improving some of the bounds. In this paper, a new simpler and more efficient algorithm for the same problem is presented, using some ideas from Geffert (2007). The time complexity of the presented algorithm is O(n(n+m)) and its space complexity is O(n +m), where n is the number of states and m the number of transitions of a given unary NFA.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient Construction of Semilinear Representations of Languages Accepted by Unary NFA

Chrobak (1986) proved that a language accepted by a given nondeterministic finite automaton with one-letter alphabet, i.e., a unary NFA, with n states can be represented as the union of O(n) arithmetic progressions, and Martinez (2002) has shown how to compute these progressions in polynomial time. To (2009) has pointed out recently that Chrobak’s construction and Martinez’s algorithm, which is...

متن کامل

Size of Unary One-Way Multi-head Finite Automata

One of the main topics of descriptional complexity is the question of how the size of the description of a formal language varies when being described by different formalisms. A fundamental result is the exponential trade-off between the number of states of nondeterministic (NFA) and deterministic finite automata (DFA) (see, for example, [12]). Additional exponential and double-exponential trad...

متن کامل

On Emptiness and Counting for Alternating Finite Automata

We investigate problems for regular languages coded by alternating nite automata. In automata and formal language theory, it is well-known that there is a language accepted by an n-state nondeterministic nite automaton but any deterministic nite automaton accepting that language must have at least 2 n states. Diierent representations of regular languages are used to deene problems of varying le...

متن کامل

Probabilistic and Nondeterministic Unary Automata

We investigate unary regular languages and compare deterministic finite automata (DFA’s), nondeterministic finite automata (NFA’s) and probabilistic finite automata (PFA’s) with respect to their size. Given a unary PFA with n states and an -isolated cutpoint, we show that the minimal equivalent DFA has at most n 1 2 states in its cycle. This result is almost optimal, since for any α < 1 a famil...

متن کامل

Languages and Computation (G52LAC) Lecture notes Spring 2017

3 Finite Automata 11 3.1 Deterministic finite automata . . . . . . . . . . . . . . . . . . . . 11 3.1.1 What is a DFA? . . . . . . . . . . . . . . . . . . . . . . . 11 3.1.2 The language of a DFA . . . . . . . . . . . . . . . . . . . 13 3.2 Nondeterministic finite automata . . . . . . . . . . . . . . . . . . 14 3.2.1 What is an NFA? . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.2 The lan...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Fundam. Inform.

دوره 123  شماره 

صفحات  -

تاریخ انتشار 2013